app.get('/ejs',(erq,res) => {
    res.render('index')
    res.render('index',{
        msg:'你好',
        stus:[
            {id:0,name:'张三1',gender:'1',age:18,hobbies:'ssss'},
            {id:1,name:'张三2',gender:'1',age:18,hobbies:'ssss'},
            {id:2,name:'张三3',gender:'1',age:18,hobbies:'ssss'},
            {id:3,name:'张三4',gender:'1',age:18,hobbies:'ssss'}
        ],
        msg2:'hello'
    })
})
app.listen(3000,()=>{
    console.log('服务已启动')
})